package com.sihai.ehr.service;

import com.sihai.core.Limit;
import com.sihai.core.LimitedList;
import com.sihai.core.Sorter;
import com.sihai.ehr.model.biz.TrainAssessWeight;

/**
 * 培训训练权重服务接口
 * 
 * @author henry
 * 
 */
public interface TrainAssessWeightService {
	/** 获取培训类型 */
	TrainAssessWeight getTrainAssessWeight(Long weightId);

	/** 根据权利名称获取权限对象 */
	TrainAssessWeight getTrainAssessWeightByTitle(String title, int assessType);

	/**
	 * 根据组织结构编号获取培训类型列表
	 * 
	 * @param organizationId
	 * @return
	 */
	LimitedList<TrainAssessWeight> getTrainAssessWeights(Long organizationId,
			Long dutyId, int assessType, Limit limit, Sorter sorter);

	/** 保存培训类型 */
	void save(TrainAssessWeight assessWeight);

	/**
	 * 删除培训类型
	 * 
	 * @param ids
	 */
	void deleteTrainAssessWeight(String ids);

}
